package com.example.service.impl;

import com.example.service.IBodyService;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2016/12/25.
 */
public class BodyServiceImpl implements IBodyService {

    public BodyServiceImpl() {
        System.out.println("BodyServiceImpl构造。。");
    }

    @Override
    public void sayHello() {
        System.out.println("BodyServiceImpl....");
    }

    @Override
    public int getCount() {
        return 20;
    }

    @Override
    public List findAll() {
        List<String> list = new ArrayList<>();
        list.add("test");
        list.add("demo");

        return list;
    }
}
